/**
\file LoSecurity.h
	Windows Security related API.
*/
#pragma once
#include <lostlbase.h>
#include "../System.h"
#include "LoDll.h"

namespace lo {

	class Resource
	{
	public:
		static bool		DoesStringExist(UINT id, HINSTANCE hinstance = NULL);
		static bool		Exists(const char *name, const char *resType);
		static void		ExtractFile(const char *name, const char *resType, const char *destination);
		static void		ExtractFiles(const char *resType, const char *destinationDirectory);
		static int		GetNumberOfResources(const char *resType,HMODULE hModule = NULL);
		static string	LoadStringSafe(UINT id, HINSTANCE hinstance);
	};

}
